import {createStore,applyMiddleware} from 'redux'
import thunk from 'redux-thunk'
const initState = {
    list:[]
}
const reducer = (state=initState,action)=>{
    switch (action.type) {
        default:
            return JSON.parse(JSON.stringify(state));
    }
}
export default createStore(reducer,applyMiddleware(thunk))